{include file="index/header" /}
<div class="container xs-top-15" style="max-width:960px">
    <div class="columns">
        <!--区域1-->
        <div class="column is-two-thirds">
            <!--搜索模块-->
            {include file="index/search_module" /}
            <hr class="xs-hr">
            <!--模块2-->
            <div class="card">
                <div class="tabs" style="margin-bottom:0px;">
                    <ul>
                        <li class="is-active"><a>最新试题</a></li>
                    </ul>
                </div>
                <div class="xs-card-content-15">
                    <div class="content">
                        <div class="field is-grouped">
                            <div style="width: 100%">
                                {foreach $question_list as $key=>$vo }
                                <dl style="border-bottom:1px dashed #c1cad4;padding-bottom: 10px;margin-bottom:15px;">
                                    <dd style="margin-left: 0px;display: inline-flex;">
                                        <!--                                            <a style="font-size: 14px;color: #095f8a;padding-right: 5px;" href="{:url('index/index/cate',['id'=>$vo.profile.Id])}">{$vo.profile.name}</a>-->
                                        <div class="xs-yc xs-sl-a" style="line-height:20px;">
                                            <a href="{:url('index/index/ask',['id'=>$vo.Id])}" target="_blank"
                                                style="font-size: 14px;color: #0a0a0a;">{$vo.title}</a>
                                        </div>

                                    </dd>
                                </dl>
                                {/foreach}

                            </div>
                        </div>
                    </div>
                </div>
            </div>
            <!--模块3-->
            {eq name="$adver[0]['state']" value="1"}
            <hr class="xs-hr">
            <div class="card">
                <div class="xs-card-content">
                    <div class="content">
                        <a href="{$adver[0]['url']}" target="_blank"><img src="{$adver[0]['img_url']}" alt=""></a>
                    </div>
                </div>
            </div>
            {/eq}
        </div>
        <!--区域2-->
        <div class="column">
            <!--模块1-->
            <div class="card">
                <header class="card-header">
                    <p class="card-header-title">
                        题库分类
                    </p>
                    <a href="#" class="card-header-icon" aria-label="more options">
                        <span class="icon">
                            <i class="fas fa-angle-down" aria-hidden="true"></i>
                        </span>
                    </a>
                </header>
                <div class="xs-card-content">
                    <div class="content">
                        <div class="field is-grouped">
                            <div class="field is-grouped is-grouped-multiline" style="margin-left:20px;">
                                {foreach $sort_list as $key=>$vo }
                                <p class="control">
                                    <a class="button is-link is-outlined is-small"
                                        href="{:url('index/index/cate',['type'=>$vo.alias])}">
                                        {$vo.name}
                                    </a>
                                </p>
                                {/foreach}
                            </div>
                        </div>
                    </div>
                </div>
            </div>
            <hr class="xs-hr">
            <!--模块2-->
            <div class="card">
                <header class="card-header">
                    <p class="card-header-title">
                        站点统计
                    </p>
                    <a href="#" class="card-header-icon" aria-label="more options">
                        <span class="icon">
                            <i class="fas fa-angle-down" aria-hidden="true"></i>
                        </span>
                    </a>
                </header>
                <div class="xs-card-content">
                    <div class="content">
                        <span>已有试题：{$question_num} 套</span>
                        <!--<hr class="xs-hr">-->
                        <!--<div class="image is-square">-->
                        <!--    <img src="https://www.shangxueba.com/ask/images/APPAds.png">-->
                        <!--</div>-->
                    </div>
                </div>
            </div>
        </div>
    </div>
    <div class="columns">
        <div class="column">
            <div class="card">
                <div class="xs-card-content">
                    <div class="content">
                        <div class="field is-grouped">
                            <span class="icon is-small" style="margin-right: 15px;"><i class="fas fa-link"></i></span>
                            {$site_seo.site_link|raw}
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </div>
</div>
{include file="/index/footer" /}